<%@page contentType="text/html; charset=UTF-8"%>

<%
	if(((String)request.getAttribute("panel")).equals("infocom")) {
%>
	<div class="sidebar">
      <ul>
        <li <%=getCssClassConPanel(request,"insert")%>><a href="#">新建信息</a></li>
        <li <%=getCssClassConPanel(request,"publish")%>><a href="#">信息发布</a></li>
        <li <%=getCssClassConPanel(request,"publist")%>><a href="#">报送列表</a></li>
      </ul>
    </div>
<%
	}else {
%>
	<div class="sidebar">
      <ul>
        <li <%=getCssClassConPanel(request,"infomgr")%>><a href="query-gatheringinfo.action">通讯服务信息</a></li>
        <li <%=getCssClassConPanel(request,"decision")%>><a href="#">决策参考</a></li>
        <li <%=getCssClassConPanel(request,"brief")%>><a href="#">简报</a></li>
        <li <%=getCssClassConPanel(request,"declaration")%>><a href="query-bulletininfo.action">公告</a></li>
        <li <%=getCssClassConPanel(request,"papers")%>><a href="query-downloadinfo.action">资料下载</a></li>
        <li <%=getCssClassConPanel(request,"rules")%>><a href="query-bylawinfo.action">规章制度</a></li>
        <li <%=getCssClassConPanel(request,"used")%>><a href="#">已采用</a></li>
        <li <%=getCssClassConPanel(request,"notused")%>><a href="#">已报送</a></li>
      </ul>
    </div>
<%
	}
%>
<%!
	String getCssClassConPanel(HttpServletRequest request, String title){
 		String panel = (String)request.getAttribute("conpanel");
 		if(title.equalsIgnoreCase(panel)) {
			return "class=\"current\"";
		}else {
			return "";
		}
 	}
%>